package com.quad.innovators.salesease.converter;

import com.quad.innovators.salesease.model.entity.warehouse.ReturnOrderScan;
import com.quad.innovators.salesease.model.entity.warehouse.SaleOrderDetail;
import com.quad.innovators.salesease.model.form.warehouse.ReturnOrderScanForm;
import com.quad.innovators.salesease.model.form.warehouse.SaleOrderDetailForm;

import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;

/**
 * @author : shanshan.li
 * @createTime : 2025/4/24 11:14
 * @Version : 1.0 
 */
@Mapper(componentModel = "spring")
public interface ReturnOrderScanConverter {

    ReturnOrderScanForm toForm(ReturnOrderScan entity);

    @InheritInverseConfiguration(name = "toForm")
    ReturnOrderScan toEntity(ReturnOrderScanForm entity);
}
